﻿<UserControl x:Class="DataTransferBetweenViews.View.SenderView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Label Grid.Column="0">Names</Label>
        <ComboBox Grid.Column="1" Height="30" MinWidth="100" HorizontalAlignment="Left" VerticalAlignment="Top" 
                  ItemsSource="{Binding Path=Persons}" SelectedItem="{Binding Path=SelectedPerson, Mode=TwoWay}"></ComboBox>
    </Grid>
</UserControl>
